package com.xuan.temper.service.impl;

import com.xuan.temper.dao.EchartsDao;
import com.xuan.temper.entity.EchartsEntity;
import com.xuan.temper.service.EchartsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.cdi.Eager;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @创建人： king xuan
 * @创建时间：2020/9/22
 * @描述：
 */
@Service
public class EchartsServiceImpl implements EchartsService {

    @Autowired
    private EchartsDao dao;

    @Override
    public Boolean insert(EchartsEntity echarts) {
        return dao.insert(echarts);
    }

    @Override
    public Boolean delete(int id) {
        return null;
    }

    @Override
    public EchartsEntity load(int id) {
        return null;
    }

    @Override
    public Boolean update(EchartsEntity echarts) {
        return null;
    }

    @Override
    public List<EchartsEntity> test() {
        return dao.test();
    }
}
